generate a dropdown list from array data using razor .net mvc

129

generate a dropdown list from array data using razor .net mvc -

@Html.DropDownList("myList", ViewBag.myList as SelectList)

Comments

Submit
0 Comments